﻿using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Twi.DataAccess.DBUtility
{

    public class TwiDbProviderFactory
    {
        public static DbProviderFactory Instance { get; set; }

        static TwiDbProviderFactory()
        {
            Instance = System.Data.Common.DbProviderFactories.GetFactory(System.Configuration.ConfigurationManager.ConnectionStrings["SQLConnString"].ProviderName);
        }
    }
}
